package com.byjh.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "wechat")
@Data
public class WechatConfig {

    private MiniProgram miniProgram;
    @Data
    public static class MiniProgram {
        private String appid;
        private String secret;
    }
}
